package com.test.shiro;

import org.apache.solr.client.solrj.SolrClient;
import org.apache.solr.client.solrj.impl.HttpSolrClient;

/**
 * @Author: sunshuo
 * @Date: 2019/3/20 16:13
 * @Version: 1.0
 */
public class Demo {

	public static void main(String[] args) {
		/*WeixinAccount weixinAccount = new WeixinAccount("wx788ecc40842b8fa6", "95b6e929ded04301c93ff93a7eeb324c");
		Weixin4jSettings weixin4jSettings = new Weixin4jSettings(weixinAccount);
		WeixinProxy weixinProxy = new WeixinProxy(weixin4jSettings);
		System.out.println(JSON.toJSONString(weixinProxy));*/
		int total = 420;
		int size = 100;
		int tp = (total / size) + (total % size == 0 ? 0 : 1);
		System.out.println(tp);
	}
}
